package bocchi.card;

import bocchi.BocchiCore;
import bocchi.base.BaseCustomCard;
import com.evacipated.cardcrawl.mod.stslib.fields.cards.AbstractCard.AutoplayField;
import com.megacrit.cardcrawl.actions.common.DrawCardAction;
import com.megacrit.cardcrawl.actions.common.GainEnergyAction;

public class Tsuchinoko extends BaseCustomCard {
    public static final String RAW_ID = Tsuchinoko.class.getSimpleName();
    public static final String GAME_ID = BocchiCore.getGameID(RAW_ID);

    public Tsuchinoko() {
        super(RAW_ID);
        isEthereal = true;
        AutoplayField.autoplay.set(this, true);
    }

    @Override
    public void triggerOnExhaust() {
        addToBot(new GainEnergyAction(upgraded ? 2 : 1));
        addToBot(new DrawCardAction(magicNumber));
    }
}
